/* 总容器 */
.wrapper{
	width: 100%;
	height: 100%;
}

/* 头部 */
.wrapper header{
	width: 100%;
	height: 12vw;
	background-color: #0097ff;/* ：！！！这个条颜色好像要再浅一点，是这个#00abf5,而且好像有点渐变 */
	
	display: flex;
	align-items: center;
}
.wrapper header .icon-location-box{
	width: 3.5vw;
	height: 3.5vw;
	margin: 0 1vw 0 3vw;/* 上右下左 */
}
.wrapper header .location-text{
	font-size: 4.5vw;
	font-weight: 700;/* 粗细 */
	color: #fff;
	
	/* ：俺加了这俩 */
	user-select: none;
	cursor: pointer;
}
.wrapper header .location-text .fa-caret-down{
	/* margin-left: 1vw; *//* ：感觉html里换行了，这边就不需要这个呢 */
}

/* 搜索部分 */
.wrapper .search{
	width: 100%;
	height: 13vw;
}
.wrapper .search .search-fixed-top{
	width: 100%;
	height: 13vw;
	background-color: #0097ff;
	
	display: flex;
	justify-content: center;
	align-items: center;
}
.wrapper .search .search-fixed-top .search-box{
	width: 90%;
	height: 9vw;
	background-color: #fff;
	border-radius: 2px;/* 圆角 */
	
	display: flex;
	justify-content: center;
	align-items: center;
	
	font-size: 3.5vw;
	color: #aeaeae;
	font-family: "宋体";
	user-select: none;/* 设文本选中状态为无效,鼠标光标不能选文本 */
	cursor: pointer;/* ：俺加了这个 */
}
.wrapper .search .search-fixed-top .search-box .fa-search{
	margin-right: 1vw;
}

/* 点餐分类部分 */
.wrapper .foodtype{/* 注意是ul */
	width: 100%;
	height: 48vw;
	
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-content: center;
}
.wrapper .foodtype li{
	width: 18vw;
	height: 20vw;
	
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	
	user-select: none;
	cursor: pointer;
}
.wrapper .foodtype li img{
	width: 12vw;
	height: 12vw;
}
.wrapper .foodtype li p{
	font-size: 3.2vw;
	color: #666;
}

/* 横幅广告 */
.wrapper .banner{
	width: 95%;/* 背景颜色或图片会充满内边距，所以不能用内边距留白 */
	margin: 0 auto;/* 整个块水平方向居中 */
	height: 29vw;
	
	background-image: url(../img/index_banner.png);/* ：！！！！！！！！！这里可不可以夹带私货！ */
	/* 使背景图片充满整个窗口 */
	background-repeat: no-repeat;
	background-size: cover;/* 背景图片成比例的充满整个窗口 */
	
	/* 边框盒子设置内边距 */
	box-sizing: border-box;
	padding: 2vw 6vw;/* 上下 左右 */
}
.wrapper .banner h3{
	font-size: 4.2vw;
	margin-bottom: 1.2vw;
}
.wrapper .banner p{
	font-size: 3.4vw;
	color: #666;
	margin-bottom: 2.4vw;
}
.wrapper .banner a{
	font-size: 3vw;
	color: #C79060;
	font-weight: 700;
}

/* 超级会员部分 */
.wrapper .supermember{
	width: 95%;
	margin: 0 auto;
	height: 11.5vw;
	background-color: #feedc1;
	margin-top: 1.3vw;
	border-radius: 2px;
	color: #644f1b;
	
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.wrapper .supermember .left{
	display: flex;
	align-items: center;
	margin-left: 4vw;
	user-select: none;
}
.wrapper .supermember .left img{
	width: 6vw;
	height: 6vw;
	margin-right: 2vw;
}
.wrapper .supermember .left h3{
	font-size: 4vw;
	margin-right: 2vw;
}
.wrapper .supermember .left p{
	font-size: 3vw;
}
.wrapper .supermember .right{
	font-size: 3vw;
	margin-right: 4vw;
	cursor: pointer;
}

/* 推荐商家部分 */
.wrapper .recommend{
	width: 100%;
	height: 14vw;
	
	display: flex;
	justify-content: center;
	align-items: center;
}
.wrapper .recommend .recommend-line{
	width: 6vw;
	height: 0.2vw;
	background-color: #888;
}
.wrapper .recommend p{
	font-size: 4vw;
	margin: 0 4vw;
}

/* 推荐方式部分 */
.wrapper .recommendtype{/* ：！！！！！！！！！！！！！！！！！可以做成划上去留在顶部的吧？ */
	width: 100%;
	height: 5vw;
	margin-bottom: 5vw;
	
	display: flex;
	justify-content: space-around;
	align-items: center;
}
.wrapper .recommendtype li{
	font-size: 3.5vw;
	color: #555;
}

/* 推荐商家列表 */
.wrapper .business{
	width: 100%;
	/* 高度不定 */
	/* margin-bottom: 14vw; *//* 把底部菜单留出来 *//* ：怎么没顶起来呢 */
	padding-bottom: 14vw;/* ：这样顶起来了 */
}
.wrapper .business li{
	width: 100%;
	box-sizing: border-box;/* 用边框盒子使用内边距 */
	padding: 2.5vw;
	user-select: none;
	border-bottom: solid 1px #ddd;
	
	display: flex;
}
.wrapper .business li img{
	width: 18vw;
	height: 18vw;
}
.wrapper .business li .business-info{
	width: 100%;
	box-sizing: border-box;
	padding: 3vw;
}
.wrapper .business li .business-info .business-info-h{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2vw;
}
.wrapper .business li .business-info .business-info-h h3{
	color: #333;
}
.wrapper .business li .business-info .business-info-h .business-info-like{
	width: 1.6vw;
	height: 3.4vw;
	background-color: #666;
	color: #fff;
	font-size: 4vw;
	margin-right: 4vw;
	
	display: flex;
	justify-content: center;
	align-items: center;
}
.wrapper .business li .business-info .business-info-star{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2vw;
	font-size: 3.1vw;
}
.wrapper .business li .business-info .business-info-star .business-info-star-left{
	display: flex;
	align-items: center;
}
.wrapper .business li .business-info .business-info-star .business-info-star-left .fa-star{
	color: #fec80e;
	margin-right: 0.5vw;
}
.wrapper .business li .business-info .business-info-star .business-info-star-left p{
	color: #666;
	margin-left: 1vw;
}
.wrapper .business li .business-info .business-info-star .business-info-star-right{
	background-color: #0097ff;
	color: #fff;
	font-size: 2.4vw;
	border-radius: 2px;
	padding: 0 0.6vw;/* 没设宽和高,就不用边框盒子 */
}
.wrapper .business li .business-info .business-info-delivery{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2vw;
	color: #666;
	font-size: 3.1vw;
}
.wrapper .business li .business-info .business-info-explain{
	display: flex;
	align-items: center;
	margin-bottom: 3vw;
}
.wrapper .business li .business-info .business-info-explain div{
	border: solid 1px #ddd;
	font-size: 2.8vw;
	color: #666;
	border-radius: 3px;
	padding: 0 0.1vw;
}
.wrapper .business li .business-info .business-info-promotion-i{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.8vw;
}
.wrapper .business li .business-info .business-info-promotion-i .business-info-promotion-left{
	display: flex;
	align-items: center;
}
.wrapper .business li .business-info .business-info-promotion-i .business-info-promotion-left .business-info-promotion-left-icon{
	width: 4vw;
	height: 4vw;
	background-color: #70bc46;
	font-size: 3vw;
	border-radius: 3px;
	color: #fff;
	
	display: flex;
	justify-content: center;
	align-items: center;
}
.wrapper .business li .business-info .business-info-promotion-i .business-info-promotion-left p{
	color: #666;
	font-size: 3vw;
	margin-left: 2vw;
}
.wrapper .business li .business-info .business-info-promotion-i .business-info-promotion-right{
	display: flex;
	align-items: center;
	font-size: 2.5vw;
	color: #999;
}
.wrapper .business li .business-info .business-info-promotion-i .business-info-promotion-right p{
	margin-right: 2vw;
}

.wrapper .business li .business-info .business-info-promotion-ii{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.8vw;
}
.wrapper .business li .business-info .business-info-promotion-ii .business-info-promotion-left{
	display: flex;
	align-items: center;
}
.wrapper .business li .business-info .business-info-promotion-ii .business-info-promotion-left .business-info-promotion-left-icon{
	width: 4vw;
	height: 4vw;
	background-color: #f1884f;
	font-size: 3vw;
	border-radius: 3px;
	color: #fff;
	
	display: flex;
	justify-content: center;
	align-items: center;
}
.wrapper .business li .business-info .business-info-promotion-ii .business-info-promotion-left p{
	color: #666;
	font-size: 3vw;
	margin-left: 2vw;
}

/* 底部菜单 */
.wrapper .footer{
	width: 100%;
	height: 14vw;
	border-top: solid 1px #ddd;
	background-color: #fff;
	
	position: fixed;/* 固定定位 *//* 就脱离文档流,可以设坐标 */
	left: 0;
	bottom: 0;
	
	display: flex;
	justify-content: space-around;
	align-items: center;
}
.wrapper .footer li{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	
	color: #999;
	user-select: none;
	cursor: pointer;
}
.wrapper .footer li p{
	font-size: 2.8vw;
}
.wrapper .footer li i{
	font-size: 5vw;
}
